<template>
	<view class="pay-success">
		<view class="text">恭喜您支付成功</view>
		<view @click="goIndex" class="return-inex">返回首页再买点</view>
	</view>
</template>

<script>
	export default {
		data() {  
			return {  
			}  
		},  
		methods: {
			goIndex(){
				uni.reLaunch({
					url:"/pages/index/index"
				})
			}
		},
	}
</script>

<style scoped>
.pay-success{
	background-color: #FFEFBA;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.text{
	font-size:25px;

}
.return-inex{
	padding: 10rpx 60rpx;
	background-color: #EACD6F;
	margin-top: 30rpx;
	border-radius: 40rpx;
}
</style>